package models

import (
	"git.oschina.net/YPTArch/usercenter/oauth2/consts"
	"time"
)

/*type AuthorizeRequest struct {
	ResponseType   consts.ResponseType      `form:"response_type"`
	ClientID       string                        `form:"client_id"`
	Scope          string                        `form:"scope"`
	RedirectURI    string                        `form:"redirect_uri"`
	State          string                   `form:"state"`
	UserId         string
	AccessTokenExp time.Duration
}*/
// 授权请求
type AuthorizeRequest struct {
	ResponseType   consts.ResponseType      `form:"response_type"`
	ClientID       string                        `form:"client_id"`
	Scope          string                        `form:"scope"`
	RedirectURI    string                        `form:"redirect_uri"`
	State          string                   `form:"state"`
	UserID         string
	AccessTokenExp time.Duration
}
